package com.kangfu.db.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.kangfu.db.model.bo.TagNameBo;

import java.time.LocalDateTime;
import java.util.List;

public class ArticleVo {

    private Integer id;

    private String cover;

    private String title;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime createTime;

    private String author;

    private Integer unlockCheckinCount;

    private Integer needCheckinCount;

    private Integer unlock;

    private List<TagNameBo> tagList;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCover() {
        return cover;
    }

    public void setCover(String cover) {
        this.cover = cover;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public Integer getUnlockCheckinCount() {
        return unlockCheckinCount;
    }

    public void setUnlockCheckinCount(Integer unlockCheckinCount) {
        this.unlockCheckinCount = unlockCheckinCount;
    }

    public Integer getUnlock() {
        return unlock;
    }

    public void setUnlock(Integer unlock) {
        this.unlock = unlock;
    }

    public Integer getNeedCheckinCount() {
        return needCheckinCount;
    }

    public void setNeedCheckinCount(Integer needCheckinCount) {
        this.needCheckinCount = needCheckinCount;
    }

    public List<TagNameBo> getTagList() {
        return tagList;
    }

    public void setTagList(List<TagNameBo> tagList) {
        this.tagList = tagList;
    }

}
